package com.game.Maze.Utils;

import java.util.ArrayList;


public class BaseCollection<E> implements IBaseCollection<E>
{
  private ArrayList<E> m_Collection;

  public BaseCollection()
  {
    m_Collection = new ArrayList<E>();
  }

  public void add(E item)
  {
    m_Collection.add(item);
  }

  public void remove(E item)
  {
    m_Collection.remove(item);
  }

  public boolean contains(E item)
  {
    return m_Collection.contains(item);
  }
}
